//
//  FDHttpTool.h
//  FD
//
//  Created by Yasin on 2018/10/11.
//  Copyright © 2018年 ZhiYuan Network. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^FDHttpSuccessBlock)(id responseObjc);
typedef void(^FDHttpFailureBlock)(NSError *error);

@interface FDHttpTool : NSObject

+ (void)rb_POSTWithURL:(NSString *)urlStr authr:(NSString *)authr timeStampStr:(NSString *)stampStr params:(NSDictionary *)parDic successHandler:(FDHttpSuccessBlock)success failureHandler:(FDHttpFailureBlock)failure;


+ (void)rb_GET_haveRequestHeader:(NSString *)urlStr pardic:(NSDictionary *)dic authorization:(NSString *)authori successHandler:(FDHttpSuccessBlock)success failureHandler:(FDHttpFailureBlock)failure;

+ (void)requestWithPara:(NSDictionary *)para successBlock:(FDHttpSuccessBlock)succe failureBlock:(FDHttpFailureBlock)failure;

@end
